﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.Common;
using System.Data.EntityClient;
using System.Data.Objects;

namespace ASPItalia.ModelVirtualCasting.EntityFramework.Wrappers {
	public interface IContextWrapper {
		void ChangeObjectState(object entity, EntityState state);
		void SaveChanges(List<EntityCommand> commands, bool createNewContextAfterSaveChanges);
		bool EnableLazyLoading { get; set; }
		ObjectSet<T> CreateObjectSet<T>() where T: class;
	}
}
